<?php
// +----------------------------------------------------------------------
// |ZBPHP[基于ThinkPHP5.1开发]
// +----------------------------------------------------------------------
// | Copyright (c) 2016-2019 http://www.benbenwangluo.com
// +----------------------------------------------------------------------
// | Author 似水星辰 [ 2630481389@qq.com ]
// +----------------------------------------------------------------------
// | 中犇软件 技术六部 出品
// +----------------------------------------------------------------------


/**
 * 插件配置信息
 */
return [
    ['type' =>'radio','name' => 'status', 'title' =>'状态',  'extra' =>['1' => '开启', '0' => '关闭'], 'value'=>1],
    ['type' =>'text', 'name' =>'from_name','title' => '发件人'],
    ['type' =>'text', 'name' =>'from', 'title' =>'邮箱地址'],
    ['type' =>'text', 'name' =>'host', 'title' =>'SMTP服务器'],
    ['type' =>'select','name' => 'smtp_secure', 'title' =>'连接方式', 'extra' =>['0' => '默认', 'ssl' => 'ssl', 'tls' => 'tls']],
    ['type' =>'text', 'name' =>'port', 'title' =>'SMTP服务器端口'],
    ['type' =>'text', 'name' =>'username', 'title' =>'发件箱帐号'],
    ['type' =>'password','name' => 'password','title' => '发件箱密码'],
    
   // ['type' =>'text', 'expire_minute', 'title' =>'有效期','tips' => '邮件验证验证码过期时间，单位分钟'],
    
];

